package com.qww.test06.test07;

public class Test07 {

    public static void main(String[] args) {
        A.method2(new A());
    }

}

class A {

    void method1() {
        System.out.println("非静态方法被调用了。。。");
    }

    static void method2(A a) {
        a.method1();
    }
}